package com.example.demo.service;

import com.example.demo.entity.User;
import com.example.demo.entity.UserDTO;

public interface UserService {

    /**
     * 新增用户
     * @param userDTO
     */
    void save(UserDTO userDTO);

    /**
     * 用户登录
     * @param  userDTO
     * @return
     */
    User login(UserDTO userDTO);

}
